﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RequestInformation.aspx.cs" Inherits="User_RequestInformation" MasterPageFile="~/Site.master" %>

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

    <br />
    <asp:HyperLink ID="UserLink" runat="server" NavigateUrl="UserPanel.aspx">Панель пользователя</asp:HyperLink>
&nbsp; <span class="Apple-style-span" 
        style="color: rgb(105, 105, 105); font-family: 'Helvetica Neue', 'Lucida Grande', 'Segoe UI', Arial, Helvetica, Verdana, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; ">
    →&nbsp;
    <asp:HyperLink ID="RequestsLink" runat="server" NavigateUrl="RequestsList.aspx">Запросы</asp:HyperLink>
&nbsp; →&nbsp;
    <b><asp:Label ID="UserLabel" runat="server" Text="Информация о кредите" ForeColor="black"></asp:Label></b><br/>
    </span> 
    &nbsp;<table>
    <tr>
    <td><asp:Label ID="CreditLabel" runat="server" Text="Кредит:" AssociatedControlID="CreditList"></asp:Label></td>
    <td><asp:DropDownList Width="250px" ID="CreditList" runat="server" 
         DataSourceID="SqlDataSourceCredit" DataTextField="Name" 
         DataValueField="CreditID" ondatabound="CreditList_DataBound">
    </asp:DropDownList>
     <asp:SqlDataSource ID="SqlDataSourceCredit" runat="server" 
         ConnectionString="<%$ ConnectionStrings:BankDBConnectionString %>"
         SelectCommand="SELECT [Name], [CreditID] FROM [Credit]">
         <SelectParameters>
             <asp:Parameter DefaultValue="true" Name="Active" Type="Boolean" />
         </SelectParameters>
     </asp:SqlDataSource></td>
    </tr>

    <tr>
    <td><asp:Label ID="TermLabel" runat="server" Text="На срок:"></asp:Label></td>
    <td><asp:TextBox Width="244px" ID="TermLength" runat="server"></asp:TextBox></td>
    </tr>

    <tr>
    <td> <asp:Label  ID="AmountLabel" runat="server" Text="Сумма:"></asp:Label></td>
    <td>   <asp:TextBox ID="Amount" Width="244px" runat="server"></asp:TextBox><br />
    <asp:DropDownList Width="250px" ID="CurrencyList" runat="server" 
         DataSourceID="SqlDataSourceCurrency" DataTextField="Name" 
         DataValueField="CurrencyID" ondatabound="CurrencyList_DataBound">
    </asp:DropDownList>
     <asp:SqlDataSource ID="SqlDataSourceCurrency" runat="server" 
         ConnectionString="<%$ ConnectionStrings:BankDBConnectionString %>" 
         SelectCommand="SELECT [CurrencyID], [Name] FROM [Currency]">
     </asp:SqlDataSource></td>
    </tr>
     <tr>
    <td><asp:Label  ID="CommentLabel" runat="server" Text="Комментарии:"></asp:Label></td>
    <td> <asp:TextBox Width="244px" ID="OperatorComment" runat="server" Height="73px" 
            TextMode="MultiLine" Enabled="false" ></asp:TextBox></td>
    </tr>    
</table>

</asp:Content>